#ifndef RECOGNIZE_H
#define RECOGNIZE_H

#include <QObject>
#include "operation.h"
//#include "description.h"

class Recognize : public Operation
{
    Q_OBJECT
public:
    explicit Recognize(QObject *parent = nullptr);

private:
    // 编号
    int            m_nImageNum;

    //Description*    m_pDescription;

public:
    virtual void run() override;

    virtual void writeXML(QXmlStreamWriter& writer) override;
    virtual void readFromXML(QXmlStreamReader& reader) override;
    virtual QString getClassName() override;

public:
    int nImageNum() const;
    void setNImageNum(int newNImageNum);
};

#endif // RECOGNIZE_H
